package com.sdk.pay.transfer.model;

import android.os.Parcel;
import android.os.Parcelable;

public class WECHATBean implements Parcelable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public int id;
	public String codeUrl;
	public String money;
	public String reason;
	public String treated;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getCodeUrl() {
		return codeUrl;
	}

	public void setCodeUrl(String codeUrl) {
		this.codeUrl = codeUrl;
	}

	public String getMoney() {
		return money;
	}

	public void setMoney(String money) {
		this.money = money;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getTreated() {
		return treated;
	}

	public void setTreated(String treated) {
		this.treated = treated;
	}

	@Override
	public String toString() {
		return "WECHATBean{" +
				"id=" + id +
				", codeUrl='" + codeUrl + '\'' +
				", money='" + money + '\'' +
				", reason='" + reason + '\'' +
				", treated='" + treated + '\'' +
				'}';
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeInt(this.id);
		dest.writeString(this.codeUrl);
		dest.writeString(this.money);
		dest.writeString(this.reason);
		dest.writeString(this.treated);
	}

	public WECHATBean() {
	}

	protected WECHATBean(Parcel in) {
		this.id = in.readInt();
		this.codeUrl = in.readString();
		this.money = in.readString();
		this.reason = in.readString();
		this.treated = in.readString();
	}

	public static final Creator<WECHATBean> CREATOR = new Creator<WECHATBean>() {
		@Override
		public WECHATBean createFromParcel(Parcel source) {
			return new WECHATBean(source);
		}

		@Override
		public WECHATBean[] newArray(int size) {
			return new WECHATBean[size];
		}
	};
}
